package cn.jg.framework.auth.session;


import com.github.pagehelper.PageInfo;

public class ThreadLocalPage {
	private static final ThreadLocal<PageInfo> PAGE_THREAD_LOCAL = new InheritableThreadLocal<>();

	public static void set(final PageInfo user) {
		PAGE_THREAD_LOCAL.set(user);
	}

	public static PageInfo get() {
		return PAGE_THREAD_LOCAL.get();
	}

	public static void remove() {
		PAGE_THREAD_LOCAL.remove();
	}

}
